package com.ctshk.rpc.train.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 *  火车列车票价余票实体
 * </p>
 *
 * @author 李新科
 * @date 2021/5/11 12:46
 */
@Data
@ApiModel(description="火车列车票价余票实体")
public class TrainTicketDTO {

    @JsonProperty("票价")
    @ApiModelProperty(value = "票价")
    private BigDecimal price;

    @JsonProperty("余票")
    @ApiModelProperty(value = "余票数")
    private Integer num;

}
